package com.quanyan.ic.vendingMachine.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by zhuo.shi on 2017/8/2.
 */
public class OrderInfo implements Serializable {

    private Integer id;
    private String orderNo;             //订单号
    private BigDecimal totalAmount;     //订单总金额
    private String vmNumber;            //售卖机编号
    private String buyer;               //买家
    private String wchatPayCode;        //微信支付二维码
    private String aliPayCode;          //支付宝支付二维码
    private Byte payWay;                //支付方式
    private Byte payStatus;             //支付状态
    private Long payCallbackTime;       //支付回调时间
    private Long createTime;            //下单成功时间
    private List<OrderItem> items;      //商品清单

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getVmNumber() {
        return vmNumber;
    }

    public void setVmNumber(String vmNumber) {
        this.vmNumber = vmNumber;
    }

    public String getBuyer() {
        return buyer;
    }

    public void setBuyer(String buyer) {
        this.buyer = buyer;
    }

    public String getWchatPayCode() {
        return wchatPayCode;
    }

    public void setWchatPayCode(String wchatPayCode) {
        this.wchatPayCode = wchatPayCode;
    }

    public String getAliPayCode() {
        return aliPayCode;
    }

    public void setAliPayCode(String aliPayCode) {
        this.aliPayCode = aliPayCode;
    }

    public Byte getPayWay() {
        return payWay;
    }

    public void setPayWay(Byte payWay) {
        this.payWay = payWay;
    }

    public Byte getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Byte payStatus) {
        this.payStatus = payStatus;
    }

    public Long getPayCallbackTime() {
        return payCallbackTime;
    }

    public void setPayCallbackTime(Long payCallbackTime) {
        this.payCallbackTime = payCallbackTime;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public List<OrderItem> getItems() {
        return items;
    }

    public void setItems(List<OrderItem> items) {
        this.items = items;
    }
}
